#include <iostream>

char ORG[][60] = {
    R"(.....-........---------..-----------..-----------)",
    R"(..../.\......|...........|....|....|..|....|....|)",
    R"(.../...\.....|...........|....|....|..|....|....|)",
    R"(../-----\....|...........|....|....|..|....|....|)",
    R"(./.......\...|...........|....|....|..|....|....|)",
    R"(/.........\...---------..|....|....|..|....|....|)",
};

void multi_l(char *ln, int times)
{
    char tmp[3000] = {0};
    char *p = ln;
    char *po = tmp;
    while (*p)
    {
        for (int i = 0; i < times; ++i)
            *(po++) = *p;
        ++p;
    }
    *p = 0;

    while (times--)
    {
        puts(tmp);
    }
}

int main()
{
    int times;
    scanf("%d", &times);
    multi_l(ORG[0], times);
    multi_l(ORG[1], times);
    multi_l(ORG[2], times);
    multi_l(ORG[3], times);
    multi_l(ORG[4], times);
    multi_l(ORG[5], times);
    return 0;
}
